﻿@{
    Layout = null;
}
@model LeEdu.MODEL.Courses

<!DOCTYPE html>

<html>
<!-- 网页头部分布视图 -->
@Html.Partial("~/Views/Shared/HouTai_Header.cshtml")

<body>
  
    <script src="~/Content/ckeditor/ckeditor.js"></script>
    <!-- 网页导航菜单分布视图 -->
    @Html.Partial("~/Views/Shared/HouTai_DaoHang.cshtml")

    <div class="container">
        <div class="row">

            <!-- 网页左侧菜单分布视图 -->
            @Html.Partial("~/Views/Shared/CouseCreateManage_Menu_Left.cshtml")
            <div class="col-md-10">
                <div class="panel panel-default panel-col">
                    <div class="panel-heading">详细信息</div>
                    <div class="panel-body">
                        <form id="course-base-form" class="form-horizontal" action="/Course/CourseDetail" method="post">                      
                            <div class="form-group">
                                <div class="col-md-2 control-label"><label>课程简介</label></div>
                                <div class="col-md-8 controls">
                                    @Html.TextArea("CAbout", @Model.CAbout, new { @style = "visibility: hidden; display: none;",@class="form-control;" })           
                                    <script type="text/javascript">CKEDITOR.replace('CAbout');</script>
                                  </div>
                            </div>
                            <div data-widget-cid="widget-0" class="form-group dynamic-collection" id="course-goals-form-group">
                                <div class="col-md-2 control-label"><label>课程目标</label></div>
                                <div class="col-md-8 controls">
                                    <ul class="list-group sortable-list" data-role="list" style="margin-bottom:10px;display:none;"></ul>
                                    <div class="input-group">
                                        <input id="teacher-input" name="CGoal" data-role="item-input" class="form-control" type="text" value="@Model.CGoal">                                      
                                    </div>                                                                     
                                </div>
                            </div>
                            <div data-widget-cid="widget-1" class="form-group" id="course-audiences-form-group">
                                <div class="col-md-2 control-label"><label>适应人群</label></div>
                                <div class="col-md-8 controls">
                                    <ul class="list-group sortable-list  dynamic-collection" data-role="list" style="margin-bottom:10px;display:none;"></ul>
                                    <div class="input-group">
                                        <input id="teacher-input" name="CCrowd" data-role="item-input" class="form-control" type="text" value="@Model.CCrowd">
                                       
                                    </div>
                                    
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-md-8 col-md-offset-2 controls">
                                    <button class="btn btn-fat btn-primary" id="course-create-btn" type="submit">保存</button>
                                </div>
                            </div>
                            <input name="_csrf_token" value="6bbdd0241e0a31d40038b74691f0cee818a4c06f" type="hidden">
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>    
</body>

</html>
